import request from '@/utils/https'

//获取设备总数
export const SumCount = params => request('post','api/SumCount',params)

//获取激活总数
export const activateMacNum = params => request('post','api/activateMacNum',params)

//获取当前在线设备数
export const OnlineCount = params => request('post','api/OnlineCount',params)

//获取解锁设备数量
export const lockCount = params => request('post','api/lockCount',params)

//获取一周在线设备
//export const weekCount = params => request('post','api/weekCount',params)
export const weekCount = params => request('get','api/getSnOnlineCount',params)

//获取设备活跃数据
export const ActiveNumStatistic = params => request('post','api/ActiveNumStatistic',params)

//批次分类数据
export const classifyCount = params => request('post','api/classifyCount',params)

//获取下线
export const getSelectUserId = params => request('get','api/getSelectUserId',params)

//获取APP数量
export const getUserAppSum = params => request('get','api/getUserAppSum',params)

//统计用户下载流量
export const statisticsFlow = params => request('get','api/statisticsFlow',params)

//应用上传统计
export const getAppUploadLog = params => request('get','api/getAppUploadLog',params)

//设备分类统计
export const getSnTypeLog = params => request('get','api/getSnTypeLog',params)

